#include "oled_conf.h"
#include "i2c.h"

void oled_i2c_write_bytes(uint8_t addr, uint8_t* data, uint16_t len) 
{
    HAL_I2C_Mem_Write(&hi2c1, OLED_I2C_ADDRESS, addr, 1, data, len, 1000);
}

void oled_delay_ms(uint32_t ms)
{
    HAL_Delay(ms);
}